as a device or energy source